export default {
  path: '/Diary',
  component: () => import('@/pages/Diary/Diary'),
  children: [{
    path: 'Center',
    component: () => import('@/pages/Diary/Center')
  }, {
    path: 'addDiary',
    component: () => import('@/pages/Diary/components/AddDiary')
  }, {
    path: 'showDiary',
    component: () => import('@/pages/Diary/components/ShowDiary')
  }, {
    path: 'showDiary/:id',
    component: () => import('@/pages/Diary/components/SingleDiary')
  }, {
    path: 'Edit/:id',
    component: () => import('@/pages/Diary/components/EditDiary')
  }, {
    path: '/Diary',
    redirect: 'Center'
  }]
}
